﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
//using RAP.Framework.Libary.ServerCacheManager;

namespace RAP.Framework.Libary.Configuration
{
    public interface IConfigurationManager: IDictionary
    {
        event EventHandler? OnSettingsChangedEvent;
        event EventHandler? OnRefreshingConfigEvent;
        event Action<Exception, IDictionary>? OnErrorEvent;
        IConfigurationManager? Config( string file, bool enableWatcher = true );
    }
}
